package com.info.zhiduoduo.repository.entity.address;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@Accessors(chain = true)
@TableName("zdd_address_tax_rate")
public class AddressTaxRate extends Model<AddressTaxRate> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     *  地区id
     */
    @TableField("addr_id")
    private Integer addrId;

    /**
     * 季度金额
     */
    private Integer quarter;

    /**
     * 年度1档位金额
     */
    @TableField("year_one")
    private Integer yearOne;

    /**
     * 年度2档位金额
     */
    @TableField("year_two")
    private Integer yearTwo;

    /**
     * 年度3档位金额
     */
    @TableField("year_three")
    private Integer yearThree;

    /**
     * 创建人
     */
    private Integer founder;

    /**
     * 创建时间
     */
    private Date createtime;

    /**
     * 修改时间
     */
    private Date updatetime;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
